﻿<!DOCTYPE html>
<html>

<head>
    <title>HCEmrView帮助文档</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <base target="_self" />
    <link type="text/css" rel="Stylesheet" href="css/presentation.css" />
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/jquery.cookie.js"></script>
    <script type="text/javascript" src="js/di.js"></script>

    <script type="text/javascript" src="js/jquery-migrate.min.js"></script>
    <!--[if (!IE) | (gt IE 8)]><!-->
    <link type='text/css' rel='Stylesheet' href='css/highlighter.css' />
    <!--<![endif]-->
    <!--[if (!IE) | (gt IE 8)]><!-->
    <script src="js/highlight.min.js"></script>
    <!--<![endif]-->
    <script type="text/javascript">
        if (($.browser.msie == undefined) || ($.browser.version > 8)) {
            hljs.tabReplace = '  ';
            $(document).ready(function() {
                $("#footerContent").html(getCopyright());
                
                $('pre').each(function(i, e) {
                    hljs.highlightBlock(e);
                });
            });
        }

    </script>
    <script type="text/javascript">
        if (top.frames.length == 0) {
            var topicUrl = top.location.href.substring(top.location.href.lastIndexOf("/") + 1, top.location.href.length);
            var regex = new RegExp('(mk:@MSITStore|ms-help):?', 'i')
            if (!top.location.href.match(regex)) {
                top.location.href = "index.htm?" + topicUrl;
            }
        } else if (top && top.navigationFrame && top.navigationFrame.selectTocItem) {
            top.navigationFrame.selectTocItem("HCEmrViewHelp");
        };

    </script>
</head>

<body class="library">
    <input type="hidden" id="contentEditableControl" class="userDataStyle" value="false" />
    <input type="hidden" id="userDataCache" class="userDataStyle" />
    <input type="hidden" id="hiddenScrollOffset" />
    <input type="hidden" id="moduleName" value="HCEmrViewHelp" />
    <input type="hidden" id="elementId" value="HCEmrViewHelp" />
    <div id="content">
        <div class="topic">
            <h1 class="title">HCEmrView编辑器使用帮助文档</h1>
            <div id="mainSection">
                <div id="mainBody">
                    <div id="summarySection" class="section">
                        <input class="tagName" type="hidden" value="summary" />
                        <div id="summaryHeader" class="sectionHeader">
                            <div>
                                <a href="javascript:void(0)" class="collapsibleAreaHref" title="Collapse">
                                    <span class="collapsibleAreaIcon collapsibleAreaExpanding">
                                        <!---->
                                    </span>
                                    <span class="collapsibleAreaTitle">Summary</span>
                                </a>
                            </div>
                        </div>
                    </div>
                    <a name="field"></a>
                    <div id="IDAZG5NYDNEWOYICFRGSKI5OYEIOF5PGWI5OWJESMCMU3IUUAVSD2MSection" class="section">
                        <div id="IDAZG5NYDNEWOYICFRGSKI5OYEIOF5PGWI5OWJESMCMU3IUUAVSD2MHeader" class="sectionHeader">
                            <div>
                                <a href="javascript:void(0)" class="collapsibleAreaHref" title="Collapse">
                                    <span class="collapsibleAreaIcon collapsibleAreaExpanding">
                                        <!---->
                                    </span>
                                    <span class="collapsibleAreaTitle">属性(字段)</span>
                                </a>
                            </div>
                        </div>
                        <div id="IDAZG5NYDNEWOYICFRGSKI5OYEIOF5PGWI5OWJESMCMU3IUUAVSD2MContent" class="sectionContent" contentEditable="false">
                            <div class="tableSection">
                                <table id="IDAZG5NYDNEWOYICFRGSKI5OYEIOF5PGWI5OWJESMCMU3IUUAVSD2M">
                                    <colgroup>
                                        <col width="120px" />
                                        <col width="120px" />
                                        <col width="60px" />
                                    </colgroup>
                                    <tbody>
                                        <tr>
                                            <th class="nameColumn">名称</th>
                                            <th class="iconColumn">类型</th>
                                            <th class="iconColumn">操作</th>
                                            <th class="descriptionColumn">说明</th>
                                        </tr>
                                        <tr class="member">
                                            <td>DesignMode</td>
                                            <td>
                                                <p>Boolean (Delphi)</p>
                                                <p>bool (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>文档是否处于设计模式，设计模式下数据元背景色以灰色显示，一般在设计模板时将编辑器此属性设置为真，方便直观的看到哪些是数据元，病历书写时一般设置为假，以便使病历文档看来起更整洁。病历书写时鼠标移动到数据元上时数据元会高亮显示。背景色可在<a href="">DoDeItemPaintBKG</a>方法中控制。</td>
                                        </tr>
                                        <tr class="member">
                                            <td>HideTrace</td>
                                            <td>
                                                <p>Boolean (Delphi)</p>
                                                <p>bool (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>是否隐藏痕迹，隐藏痕迹也称为“整洁显示”，将文档中的删除痕迹不显示，添加痕迹显示为正常文件，隐藏痕迹后，一般会将文档设置为只读状态，防止编辑痕迹附近时出错。</td>
                                        </tr>
                                        <tr class="member">
                                            <td>Trace</td>
                                            <td>
                                                <p>Boolean (Delphi)</p>
                                                <p>bool (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>是否处于留痕状态，处于留痕状态时，删除的内容会添加删除线，添加的内容会以蓝色下划线标识。</td>
                                        </tr>
                                        <tr class="member">
                                            <td>TraceCount</td>
                                            <td>
                                                <p>Integer (Delphi)</p>
                                                <p>int (C#)</p>
                                            </td>
                                            <td>读</td>
                                            <td>文档中有几处痕迹，表示删除痕迹数量和添加痕迹数量之和。</td>
                                        </tr>
                                        <tr class="member">
                                            <td>FileName</td>
                                            <td>
                                                <p>string (Delphi)</p>
                                                <p>string (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>当前文档名称</td>
                                        </tr>
                                        <tr class="member">
                                            <td>Style</td>
                                            <td>
                                                <p>THCStyle (Delphi)</p>
                                                <p>HCStyle (C#)</p>
                                            </td>
                                            <td>读</td>
                                            <td>当前文档样式表</td>
                                        </tr>
                                        <tr class="member">
                                            <td>SymmetryMargin</td>
                                            <td>
                                                <p>Boolean (Delphi)</p>
                                                <p>bool (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>是否对称边距</td>
                                        </tr>
                                        <tr class="member">
                                            <td>ActivePageIndex</td>
                                            <td>
                                                <p>Integer (Delphi)</p>
                                                <p>int (C#)</p>
                                            </td>
                                            <td>读</td>
                                            <td>当前光标所在页的序号</td>
                                        </tr>
                                        <tr class="member">
                                            <td>PagePreviewFirst</td>
                                            <td>
                                                <p>Integer (Delphi)</p>
                                                <p>int (C#)</p>
                                            </td>
                                            <td>读</td>
                                            <td>当前预览的页序号</td>
                                        </tr>
                                        <tr class="member">
                                            <td>PageCount</td>
                                            <td>
                                                <p>Integer (Delphi)</p>
                                                <p>int (C#)</p>
                                            </td>
                                            <td>读</td>
                                            <td>总页数</td>
                                        </tr>
                                        <tr class="member">
                                            <td>ActiveSectionIndex</td>
                                            <td>
                                                <p>Integer (Delphi)</p>
                                                <p>int (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>当前光标所在节的序号</td>
                                        </tr>
                                        <tr class="member">
                                            <td>ActiveSection</td>
                                            <td>
                                                <p>THCSection (Delphi)</p>
                                                <p>HCSection (C#)</p>
                                            </td>
                                            <td>读</td>
                                            <td>当前光标所在的节</td>
                                        </tr>
                                        <tr class="member">
                                            <td>HScrollBar</td>
                                            <td>
                                                <p>THCScrollBar (Delphi)</p>
                                                <p>HCScrollBar (C#)</p>
                                            </td>
                                            <td>读</td>
                                            <td>水平滚动条</td>
                                        </tr>
                                        <tr class="member">
                                            <td>VScrollBar</td>
                                            <td>
                                                <p>THCRichScrollBar (Delphi)</p>
                                                <p>HCRichScrollBar (C#)</p>
                                            </td>
                                            <td>读</td>
                                            <td>垂直滚动条</td>
                                        </tr>
                                        <tr class="member">
                                            <td>CurStyleNo</td>
                                            <td>
                                                <p>Integer (Delphi)</p>
                                                <p>int (C#)</p>
                                            </td>
                                            <td>读</td>
                                            <td>当前光标处的样式</td>
                                        </tr>
                                        <tr class="member">
                                            <td>CurParaNo</td>
                                            <td>
                                                <p>Integer (Delphi)</p>
                                                <p>int (C#)</p>
                                            </td>
                                            <td>读</td>
                                            <td>当前光标处的段样式</td>
                                        </tr>
                                        <tr class="member">
                                            <td>Zoom</td>
                                            <td>
                                                <p>Single (Delphi)</p>
                                                <p>Single (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>缩放值</td>
                                        </tr>
                                        <tr class="member">
                                            <td>Sections</td>
                                            <td>
                                                <p>TObjectList<THCSection> (Delphi)</p>
                                                <p>List<HCSection> (C#)</p>
                                            </td>
                                            <td>读</td>
                                            <td>当前文档所有节</td>
                                        </tr>
                                        <tr class="member">
                                            <td>ShowLineActiveMark</td>
                                            <td>
                                                <p>Boolean (Delphi)</p>
                                                <p>bool (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>是否显示当前行指示符</td>
                                        </tr>
                                        <tr class="member">
                                            <td>ShowLineNo</td>
                                            <td>
                                                <p>Boolean (Delphi)</p>
                                                <p>bool (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>是否显示行号</td>
                                        </tr>
                                        <tr class="member">
                                            <td>ShowUnderLine</td>
                                            <td>
                                                <p>Boolean (Delphi)</p>
                                                <p>bool (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>是否显示下划线</td>
                                        </tr>
                                        <tr class="member">
                                            <td>IsChanged</td>
                                            <td>
                                                <p>Boolean (Delphi)</p>
                                                <p>bool (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>当前文档是否有变化</td>
                                        </tr>
                                        <tr class="member">
                                            <td>PagePadding</td>
                                            <td>
                                                <p>Byte (Delphi)</p>
                                                <p>byte (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>当前文档胶卷视图时页之间的间距</td>
                                        </tr>
                                        <tr class="member">
                                            <td>AnnotatePre</td>
                                            <td>
                                                <p>THCAnnotatePre (Delphi)</p>
                                                <p>HCAnnotatePre (C#)</p>
                                            </td>
                                            <td>读</td>
                                            <td>当前文档显示出来的批注</td>
                                        </tr>
                                        <tr class="member">
                                            <td>ViewWidth</td>
                                            <td>
                                                <p>Integer (Delphi)</p>
                                                <p>int (C#)</p>
                                            </td>
                                            <td>读</td>
                                            <td>当前文档可显示的宽度</td>
                                        </tr>
                                        <tr class="member">
                                            <td>ViewHeight</td>
                                            <td>
                                                <p>Integer (Delphi)</p>
                                                <p>int (C#)</p>
                                            </td>
                                            <td>读</td>
                                            <td>当前文档可显示的高度</td>
                                        </tr>
                                        <tr class="member">
                                            <td>ViewModel</td>
                                            <td>
                                                <p>THCViewModel (Delphi)</p>
                                                <p>HCViewModel (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>界面显示模式：胶卷、页面</td>
                                        </tr>
                                        <tr class="member">
                                            <td>AutoZoom</td>
                                            <td>
                                                <p>Boolean (Delphi)</p>
                                                <p>bool (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>是否根据宽度自动计算缩放比例</td>
                                        </tr>
                                        <tr class="member">
                                            <td>ReadOnly</td>
                                            <td>
                                                <p>Boolean (Delphi)</p>
                                                <p>bool (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>所有Section是否只读</td>
                                        </tr>
                                        <tr class="member">
                                            <td>PageNoFormat</td>
                                            <td>
                                                <p>string (Delphi)</p>
                                                <p>string (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>页码的格式</td>
                                        </tr>
                                    </tbody>
                                </table><a href="#mainBody">回到顶部</a>
                            </div>
                        </div>
                    </div>
                    <a name="event"></a>
                    <div id="IDAZG5NYDNEWOYICFRGSKI5OYEIOF5PGWI5OWJESMCMU3IUUAVSD2MSection" class="section">
                        <div id="IDAZG5NYDNEWOYICFRGSKI5OYEIOF5PGWI5OWJESMCMU3IUUAVSD2MHeader" class="sectionHeader">
                            <div>
                                <a href="javascript:void(0)" class="collapsibleAreaHref" title="Collapse">
                                    <span class="collapsibleAreaIcon collapsibleAreaExpanding">
                                        <!---->
                                    </span>
                                    <span class="collapsibleAreaTitle">属性(事件)</span>
                                </a>
                            </div>
                        </div>
                        <div id="IDAZG5NYDNEWOYICFRGSKI5OYEIOF5PGWI5OWJESMCMU3IUUAVSD2MContent" class="sectionContent" contentEditable="false">
                            <div class="tableSection">
                                <table id="IDAZG5NYDNEWOYICFRGSKI5OYEIOF5PGWI5OWJESMCMU3IUUAVSD2M">
                                    <colgroup>
                                        <col width="120px" />
                                        <col width="200px" />
                                        <col width="60px" />
                                    </colgroup>
                                    <tbody>
                                        <tr>
                                            <th class="nameColumn">名称</th>
                                            <th class="iconColumn">类型</th>
                                            <th class="iconColumn">操作</th>
                                            <th class="descriptionColumn">说明</th>
                                        </tr>
                                        <tr class="member">
                                            <td>OnSectionCreateItem</td>
                                            <td>
                                                <p>TNotifyEvent (Delphi)</p>
                                                <p>EventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>节有新的Item创建时触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnSectionItemInsert</td>
                                            <td>
                                                <p>TSectionDataItemNotifyEvent (Delphi)</p>
                                                <p>SectionDataItemNotifyEventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>节有新的Item插入时触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnSectionRemoveItem</td>
                                            <td>
                                                <p>TSectionDataItemNotifyEvent (Delphi)</p>
                                                <p>SectionDataItemNotifyEventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>节有新的Item删除时触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnSectionDrawItemPaintBefor</td>
                                            <td>
                                                <p>TSectionDrawItemPaintEvent (Delphi)</p>
                                                <p>SectionDrawItemPaintEventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>Item绘制开始前触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnSectionDrawItemPaintAfter</td>
                                            <td>
                                                <p>TSectionDrawItemPaintEvent (Delphi)</p>
                                                <p>SectionDrawItemPaintEventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>DrawItem绘制完成后触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnSectionPaintHeader</td>
                                            <td>
                                                <p>TSectionPaintEvent (Delphi)</p>
                                                <p>SectionPaintEventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>节页眉绘制时触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnSectionPaintFooter</td>
                                            <td>
                                                <p>TSectionPaintEvent (Delphi)</p>
                                                <p>SectionPaintEventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>节页脚绘制时触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnSectionPaintPage</td>
                                            <td>
                                                <p>TSectionPaintEvent (Delphi)</p>
                                                <p>SectionPaintEventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>节页面绘制时触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnSectionPaintPaperBefor</td>
                                            <td>
                                                <p>TSectionPaintEvent (Delphi)</p>
                                                <p>SectionPaintEventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>节整页绘制前触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnSectionPaintPaperAfter</td>
                                            <td>
                                                <p>TSectionPaintEvent (Delphi)</p>
                                                <p>SectionPaintEventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>节整页绘制后触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnSectionReadOnlySwitch</td>
                                            <td>
                                                <p>TNotifyEvent (Delphi)</p>
                                                <p>EventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>节只读属性有变化时触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnCaretChange</td>
                                            <td>
                                                <p>TNotifyEvent (Delphi)</p>
                                                <p>EventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>光标位置改变时触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnVerScroll</td>
                                            <td>
                                                <p>TNotifyEvent (Delphi)</p>
                                                <p>EventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>垂直滚动条滚动时触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnHorScroll</td>
                                            <td>
                                                <p>TNotifyEvent (Delphi)</p>
                                                <p>EventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>水平滚动条滚动时触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnChange</td>
                                            <td>
                                                <p>TNotifyEvent (Delphi)</p>
                                                <p>EventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>文档内容变化时触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnChangedSwitch</td>
                                            <td>
                                                <p>TNotifyEvent (Delphi)</p>
                                                <p>EventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>文档Change状态切换时触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnZoomChanged</td>
                                            <td>
                                                <p>TNotifyEvent (Delphi)</p>
                                                <p>EventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>文档Zoom缩放变化后触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnPaintViewBefor</td>
                                            <td>
                                                <p>TPaintEvent (Delphi)</p>
                                                <p>PaintEventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>窗口重绘开始时触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnPaintViewAfter</td>
                                            <td>
                                                <p>TPaintEvent (Delphi)</p>
                                                <p>PaintEventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>窗口重绘结束后触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnSectionCreateStyleItem</td>
                                            <td>
                                                <p>TStyleItemEvent (Delphi)</p>
                                                <p>StyleItemEventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>创建指定样式的Item时触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnSectionCanEdit</td>
                                            <td>
                                                <p>TOnCanEditEvent (Delphi)</p>
                                                <p>OnCanEditEventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>当编辑只读状态的Data时触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnSectionCurParaNoChange</td>
                                            <td>
                                                <p>TNotifyEvent (Delphi)</p>
                                                <p>EventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>节当前位置段样式和上一次不一样时触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnSectionActivePageChange</td>
                                            <td>
                                                <p>TNotifyEvent (Delphi)</p>
                                                <p>EventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>节当前位置文本样式和上一次不一样时触发</td>
                                        </tr>
                                        <tr class="member">
                                            <td>OnViewResize</td>
                                            <td>
                                                <p>TNotifyEvent (Delphi)</p>
                                                <p>EventHandler (C#)</p>
                                            </td>
                                            <td>读/写</td>
                                            <td>文档视图有变动时触发</td>
                                        </tr>
                                    </tbody>
                                </table><a href="#event">回到顶部</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="footer">
        <div id="footerContent"></div>
    </div>
</body>

</html>
